from peewee import Model, CharField, UUIDField
from config import db
import uuid


class User(Model):
    name = CharField()
    password = CharField()
    uid = UUIDField(default=uuid.uuid4())

    class Meta:
        database = db
